<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  User: Ivan wei
  --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程查询系统</title>
    <style>
        table{
            text-align: center;
        }
        tr{
            height: 40px;
        }
        input{
            width: 100%;
            height: 40px;
            border: 0px;
            outline:0
        }
        .b1:hover{
            background-color: aqua;
        }
        a:link {color: blue; text-decoration:none;}
    </style>
</head>
<body>
<br><br><br><br><br>
<h1 style="text-align: center">教师系统</h1>
<hr>
<%@ include file="/common.jsp" %>
<div style="text-align: center">
    <H2>更新教师信息</H2>
    <hr>
    <div style="display: flex;justify-content: center;">
        <table width="630px" border="1" cellspacing="0" >
                <form method="post" action="/Administrator/personTea/upDoing.do">
                    <tr>
                        <td>教师工号：</td><td><input type="text" name="id" value="${tea_up.id}" maxlength="9" required="required" oninput="value=value.replace(/[^\d]/g,'')"></td>
                    </tr>
                    <tr>
                        <td>教师姓名：</td><td><input type="text" name="name" value="${tea_up.name}" maxlength="15" required="required"></td>
                    </tr>
                    <tr>
                        <td>教师手机号：</td><td><input type="text" name="user" value="${tea_up.user}" maxlength="9" required="required" oninput="value=value.replace(/[^\d]/g,'')"></td>
                    </tr>
                    <tr>
                        <td>教师密码：</td><td><input type="text" name="pwd" value="${tea_up.pwd}" maxlength="15" required="required"></td>
                    </tr>
                    <tr>
                        <td></td><td><input type="submit" class="b1" value="更新教师"></td>
                    </tr>
                </form>
        </table>
        <br>
    </div>
</div>
</body>
</html>
